Skip to main content

BitSet128

Type Aliases

SerializedBitSet128

Ƭ SerializedBitSet128: LuaMap<string, unknown> & { __serializedBitSet128Brand: symbol ; __kind: CopyableIsaacAPIClassType.BIT_SET_128 }

Defined in

packages/isaacscript-common/src/functions/bitSet128.ts:12

Functions

copyBitSet128

copyBitSet128(bitSet128): BitSet128

Helper function to copy a BitSet128 Isaac API class.

Parameters

NameType
bitSet128BitSet128

Returns

BitSet128

Defined in

packages/isaacscript-common/src/functions/bitSet128.ts:21


deserializeBitSet128

deserializeBitSet128(bitSet128): BitSet128

Helper function to convert a SerializedBitSet128 object to a normal BitSet128 object. (This is used by the save data manager when reading data from the "save#.dat" file.)

Parameters

NameType
bitSet128SerializedBitSet128

Returns

BitSet128

Defined in

packages/isaacscript-common/src/functions/bitSet128.ts:38


isBitSet128

isBitSet128(object): object is BitSet128

Helper function to check if something is an instantiated BitSet128 object.

Parameters

NameType
objectunknown

Returns

object is BitSet128

Defined in

packages/isaacscript-common/src/functions/bitSet128.ts:62


isSerializedBitSet128

isSerializedBitSet128(object): object is SerializedBitSet128

Used to determine is the given table is a serialized BitSet128 object created by the deepCopy function.

Parameters

NameType
objectunknown

Returns

object is SerializedBitSet128

Defined in

packages/isaacscript-common/src/functions/bitSet128.ts:70


serializeBitSet128

serializeBitSet128(bitSet128): SerializedBitSet128

Helper function to convert a BitSet128 object to a SerializedBitSet128 object. (This is used by the save data manager when writing data from the "save#.dat" file.)

Parameters

NameType
bitSet128BitSet128

Returns

SerializedBitSet128

Defined in

packages/isaacscript-common/src/functions/bitSet128.ts:86