MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / Default

Method Default

include/null.h:205–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 inline operator Dynamic();
204 inline operator T() { return isNull ? null() : value; }
205 inline T Default(T inDefault) { return isNull ? inDefault : value; }
206
207 bool isNull;
208 T value;

Callers 3

tryAcquireMethod · 0.80
tryAcquireMethod · 0.80
tryAcquireMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected