* Gets the real value of previously wrappedValue. * @param value - Value that should be unwraped. If there is no wrappedValue property of the value object then value will be returned.
(value: any)
| 70 | * @param value - Value that should be unwraped. If there is no wrappedValue property of the value object then value will be returned. |
| 71 | */ |
| 72 | public static unwrap(value: any): any { |
| 73 | return value instanceof WrappedValue ? value.wrapped : value; |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * Returns an instance of WrappedValue. The actual instance is get from a WrappedValues pool. |
no outgoing calls
no test coverage detected