MCPcopy Index your code
hub / github.com/FlashpointProject/launcher / prop

Method prop

src/shared/utils/ObjectParser.ts:72–72  ·  view source on GitHub ↗

* Get a property of this object. * * @param label Label of the property (also known as "property name"). * @param optional If the property is optional (no error is "fired" if it is not found, default is false). * @returns Property with given label (wrapped in ObjectParserProp).

(label: L, optional?: boolean)

Source from the content-addressed store, hash-verified

70 * @returns Property with given label (wrapped in ObjectParserProp).
71 */
72 prop<L extends keyof P>(label: L, optional?: boolean): IObjectParserProp<P[L]>;
73
74 /**
75 * Get a property of this object.

Callers 15

parseCreditsDataFunction · 0.65
parseRoleFunction · 0.65
parseProfileFunction · 0.65
parseFileFunction · 0.65
parseUpgradeStageFunction · 0.65
overwritePreferenceDataFunction · 0.65
parseSingleUsePromptFunction · 0.65
parseMainWindowFunction · 0.65
parseAppPathOverrideFunction · 0.65
parseGameDataSourceFunction · 0.65
parseGameMetadataSourceFunction · 0.65

Implementers 2

ObjectParserPropsrc/shared/utils/ObjectParser.ts
ObjectParserPropNonesrc/shared/utils/ObjectParser.ts

Calls

no outgoing calls

Tested by

no test coverage detected