mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Add IsArray and IsSizedArray to Type
This commit is contained in:
parent
a672b49dea
commit
c399b79bd5
1 changed files with 16 additions and 0 deletions
|
@ -191,6 +191,22 @@ namespace System
|
|||
}
|
||||
}
|
||||
|
||||
public bool IsArray
|
||||
{
|
||||
get
|
||||
{
|
||||
return (mTypeFlags & TypeFlags.Array) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsSizedArray
|
||||
{
|
||||
get
|
||||
{
|
||||
return (mTypeFlags & TypeFlags.SizedArray) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsObject
|
||||
{
|
||||
get
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue