Return true if N is a constant splat BUILD_VECTOR or SPLAT_VECTOR.
Synopsis
Description
If N is a BUILD_VECTOR or SPLAT_VECTOR node whose elements are all the same constant or undefined, return true and return the constant value in SplatValue.
Return Value
True if N is a constant splat BUILD_VECTOR or SPLAT_VECTOR.
Parameters
Name |
Description |
N |
Node to inspect. |
SplatValue |
Set to the splat constant when the predicate holds. |
Created with MrDocs