summaryrefslogtreecommitdiff
path: root/doc/extension.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/extension.rdoc')
-rw-r--r--doc/extension.rdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/extension.rdoc b/doc/extension.rdoc
index 7677d1ad9f..c2aff57ffc 100644
--- a/doc/extension.rdoc
+++ b/doc/extension.rdoc
@@ -1145,6 +1145,10 @@ Data_Get_Struct(data, type, sval) ::
== Checking Data Types
+RB_TYPE_P(value, type) ::
+
+ Is +value+ an internal type (T_NIL, T_FIXNUM, etc.)?
+
TYPE(value) ::
Internal type (T_NIL, T_FIXNUM, etc.)