Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  rice  >  IsBasic(string)
rice class : IsBasic(string) method

Description

Gets a value that indicates whether the argument string is basic type name.

Syntax

riceInstance.IsBasic(string search)

Arguments

ClassNameDescription
stringsearchString to search.

Return value

ClassDescription
boolA value that indicates whether the argument string is basic type name.

Sample code

//anyRice is a instance of rice type.

bool basic = anyRice.IsBasic("int");

Notes

Basic type name are "int", "long", "real", "bool", "string", "rice", "proxy", "error", "list", "dictionary", "queue", and "stack".

Links for reference

None

Copyright © Rice All rights reserved.