INNER CODE UNIT · JavaScript

isSelectionIntervalAttribute

genome-spy/genome-spy · packages/app/src/agentApi/index.js:383

function isSelectionIntervalAttribute(attribute) {
    const specifier = attribute.specifier;
    return (
        attribute.type === "VALUE_AT_LOCUS" &&
        typeof specifier === "object" &&
        specifier !== null &&
        "interval" in specifier &&
        isIntervalSource(specifier.interval)
    );
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…