Types (dw::core::Types) Flashcards

1
Q

arrayItem

A

Returns the type of the given array. This function fails if the input is not an Array type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

baseTypeOf

A

Returns an the base type of the given type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

functionParamTypes

A

Returns the list of parameters from the given function type. This function fails if the provided type is not a Function type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

functionReturnType

A

Returns the type of a function’s return type. This function fails if the input type is not a Function type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

intersectionItems

A

Returns an array of all the types that define a given Intersection type. This function fails if the input is not an Intersection type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

isAnyType

A

Returns true if the input is the Any type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

isArrayType

A

Returns true if the input type is the Array type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

isBinaryType

A

Returns true if the input is the Binary type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

isBooleanType

A

Returns true if the input is the Boolean type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

isDateTimeType

A

Returns true if the input is the DateTime type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

isDateType

A

Returns true if the input is the Date type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

isFunctionType

A

Returns true if the input is the Function type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

isIntersectionType

A

Returns true if the input type is the Intersection type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

isKeyType

A

Returns true if the input is the Key type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

isLiteralType

A

Returns true if the input is the Literal type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

isLocalDateTimeType

A

Returns true if the input is the LocalDateTime type.

17
Q

isLocalTimeType

A

Returns true if the input is the LocalTime type.

18
Q

isNamespaceType

A

Returns true if the input is the Namespace type.

19
Q

isNothingType

A

Returns true if the input is the Nothing type.

20
Q

isNullType

A

Returns true if the input is the Null type.

21
Q

isNumberType

A

Returns true if the input is the Number type.

22
Q

isObjectType

A

Returns true if the input is the Object type.

23
Q

isPeriodType

A

Returns true if the input is the Period type.

24
Q

isRangeType

A

Returns true if the input is the Range type.

25
Q

isReferenceType

A

Returns true if the input type is a Reference type.

26
Q

isRegexType

A

Returns true if the input is the Regex type.

27
Q

isStringType

A

Returns true if the input is the String type.

28
Q

isTimeType

A

Returns true if the input is the Time type.

29
Q

isTimeZoneType

A

Returns true if the input is the TimeZone type.

30
Q

isTypeType

A

Returns true if the input is the Type type.

31
Q

isUnionType

A

Returns true if the input type is the Union type.

32
Q

isUriType

A

Returns true if the input is the Uri type.

33
Q

literalValueOf

A

Returns the value of an input belongs to the Literal type.

34
Q

metadataOf

A

Returns metadata that is attached to the given type.

35
Q

nameOf

A

Returns the name of the input type.

36
Q

objectFields

A

Returns the array of fields from the given Object type. This function fails if the type is not an Object type.